package com.sharp.demo.socket;

import com.corundumstudio.socketio.SocketIOClient;
import com.sharp.authorization.service.token.TokenService;
import com.sharp.socket.io.config.SocketIoEndpoint;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * Title: SocketIoEndPoint
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2020/9/22 15:56
 */
@Slf4j
@Component
public class DemoSocketIoEndpoint extends SocketIoEndpoint {

    @Resource
    private TokenService tokenService;


    @Override
    public boolean onDisconnect(SocketIOClient client) {

        return true;
    }
}
